package com.witmed.service.impl;

import java.util.List;

import com.witmed.dao.SuperAdminDao;
import com.witmed.dao.impl.SuperAdminDaoImpl;
import com.witmed.entity.Doctor;
import com.witmed.entity.SuperAdmin;
import com.witmed.service.SuperAdminService;

public class SuperAdminServiceImpl implements SuperAdminService {

	private SuperAdminDao superAdminDao = new SuperAdminDaoImpl();

	@Override
	public List<SuperAdmin> findByNameAndPassword(String adminPassowrd) {
		// TODO Auto-generated method stub
		return superAdminDao.findByNameAndPassword(adminPassowrd);
	}

}
